﻿using System.Windows.Forms;
using ReportingServices.DeploymentCenter.Core;

namespace ReportingServices.DeploymentCenter.UI
{
    public class BaseForm : Form
    {
        #region Properties

        public ServiceConfiguration ReportingServicesServiceConfiguration
        {
            get
            {
                return new ServiceConfiguration(Properties.Settings.Default.ReportServer,
                                                Properties.Settings.Default.Domain,
                                                Properties.Settings.Default.UserName,
                                                Properties.Settings.Default.Password);
            }
        }

        #endregion
    }
}
